import { App } from 'vue'
import { setUp as router } from './router'
import { setUp as taildwindcss } from './taildwindcss/index'
import { setUp as vant } from './vantUI'
import { setUp as dayjs } from './dayjs'
import { setUp as markdown } from './markdown'
import { setUp as pinia } from './pinia'

const modules = [router, taildwindcss, vant, dayjs, markdown, pinia]

export const setPlugins = (app: App) => {
   modules.map((setUp) => setUp(app))
}
